package com.ruoyi.system.domain.po;

import java.io.Serializable;
import java.util.Date;

public class PmsPatient implements Serializable {
    private Long id;

    private String name;

    private String pinyinFull;

    private String pinyinSimple;

    private Byte sex;

    private Integer age;

    private String idCard;

    private String nation;

    private String phone;

    private String createCompany;

    private Integer createAge;

    private String postalCode;

    private String registeredCity;

    private String registeredCityDetail;

    private Integer source;

    private String registeredProvince;

    private String remark;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private Byte delFlag;

    private String grbslx;

    private String grbsm;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPinyinFull() {
        return pinyinFull;
    }

    public void setPinyinFull(String pinyinFull) {
        this.pinyinFull = pinyinFull == null ? null : pinyinFull.trim();
    }

    public String getPinyinSimple() {
        return pinyinSimple;
    }

    public void setPinyinSimple(String pinyinSimple) {
        this.pinyinSimple = pinyinSimple == null ? null : pinyinSimple.trim();
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getCreateCompany() {
        return createCompany;
    }

    public void setCreateCompany(String createCompany) {
        this.createCompany = createCompany == null ? null : createCompany.trim();
    }

    public Integer getCreateAge() {
        return createAge;
    }

    public void setCreateAge(Integer createAge) {
        this.createAge = createAge;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode == null ? null : postalCode.trim();
    }

    public String getRegisteredCity() {
        return registeredCity;
    }

    public void setRegisteredCity(String registeredCity) {
        this.registeredCity = registeredCity == null ? null : registeredCity.trim();
    }

    public String getRegisteredCityDetail() {
        return registeredCityDetail;
    }

    public void setRegisteredCityDetail(String registeredCityDetail) {
        this.registeredCityDetail = registeredCityDetail == null ? null : registeredCityDetail.trim();
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getRegisteredProvince() {
        return registeredProvince;
    }

    public void setRegisteredProvince(String registeredProvince) {
        this.registeredProvince = registeredProvince == null ? null : registeredProvince.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public String getGrbslx() {
        return grbslx;
    }

    public void setGrbslx(String grbslx) {
        this.grbslx = grbslx == null ? null : grbslx.trim();
    }

    public String getGrbsm() {
        return grbsm;
    }

    public void setGrbsm(String grbsm) {
        this.grbsm = grbsm == null ? null : grbsm.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", pinyinFull=").append(pinyinFull);
        sb.append(", pinyinSimple=").append(pinyinSimple);
        sb.append(", sex=").append(sex);
        sb.append(", age=").append(age);
        sb.append(", idCard=").append(idCard);
        sb.append(", nation=").append(nation);
        sb.append(", phone=").append(phone);
        sb.append(", createCompany=").append(createCompany);
        sb.append(", createAge=").append(createAge);
        sb.append(", postalCode=").append(postalCode);
        sb.append(", registeredCity=").append(registeredCity);
        sb.append(", registeredCityDetail=").append(registeredCityDetail);
        sb.append(", source=").append(source);
        sb.append(", registeredProvince=").append(registeredProvince);
        sb.append(", remark=").append(remark);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", grbslx=").append(grbslx);
        sb.append(", grbsm=").append(grbsm);
        sb.append("]");
        return sb.toString();
    }
}